﻿<UserControl x:Class="DocumentsTagger.UI.View.TagDetailsView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:DocumentsTagger.UI.View"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid x:Name="LayoutRoot" Background="White" Margin="2,2,2,2">
        <Grid.RowDefinitions>
            <RowDefinition Height="30"/>
            <RowDefinition Height="30"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <StackPanel Grid.Column="0" 
                    Grid.Row="0"
                    Grid.ColumnSpan="2"
                    Orientation="Horizontal"
            >
            <TextBlock Text="Amount of documents learnt: " HorizontalAlignment="Center" VerticalAlignment="Center" />
            <TextBlock Text="{Binding AmountOfDocumentsLearnt}" HorizontalAlignment="Center" VerticalAlignment="Center" />
        </StackPanel>
        <TextBlock Grid.Column="0" Grid.Row="1" Text="Good words" HorizontalAlignment="Center" VerticalAlignment="Center" />
        <TextBlock Grid.Column="1" Grid.Row="1" Text="Bad words" HorizontalAlignment="Center" VerticalAlignment="Center" />

        <ListBox x:Name="lboxGoodWords" 
                 Grid.Column="0"
                 Grid.Row="2"
                 Margin="0,0,1,0"
                 HorizontalAlignment="Stretch" 
                 ItemsSource="{Binding GoodWords}" 
                 />

        <ListBox x:Name="lboxBadWords" 
                 Grid.Column="1"
                 Grid.Row="2"
                 Margin="1,0,0,0"
                 HorizontalAlignment="Stretch" 
                 ItemsSource="{Binding BadWords}" 
                 />

    </Grid>
</UserControl>
